package com.cssy.xxkj.logic.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.cssy.xxkj.basic.dao.BasicBizDAO;
import com.cssy.xxkj.logic.entity.LogicWarehouseBatchInDO;

/**
 * 数据访问对象接口
 * @since 2015-03-03
 */
public interface LogicWarehouseBatchInDAO extends BasicBizDAO<LogicWarehouseBatchInDO> {

    /**
     * 插入数据
     * @param logicWarehouseBatchInDO
     * @return 插入数据的主键
     */
    public String insertLogicWarehouseBatchInDO(LogicWarehouseBatchInDO logicWarehouseBatchInDO) throws DataAccessException;

    /**
     * 统计记录数
     * @param logicWarehouseBatchInDO
     * @return 查出的记录数
     */
    public Integer countLogicWarehouseBatchInDOByExample(LogicWarehouseBatchInDO logicWarehouseBatchInDO) throws DataAccessException;

    /**
     * 更新记录
     * @param logicWarehouseBatchInDO
     * @return 受影响的行数
     */
    public Integer updateLogicWarehouseBatchInDO(LogicWarehouseBatchInDO logicWarehouseBatchInDO) throws DataAccessException;

    /**
     * 获取对象列表
     * @param logicWarehouseBatchInDO
     * @return 对象列表
     */
    public List<LogicWarehouseBatchInDO> findListByExample(LogicWarehouseBatchInDO logicWarehouseBatchInDO) throws DataAccessException;

    /**
     * 根据主键获取logicWarehouseBatchInDO
     * @param id
     * @return logicWarehouseBatchInDO
     */
    public LogicWarehouseBatchInDO findLogicWarehouseBatchInDOByPrimaryKey(String id) throws DataAccessException;

    /**
     * 删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteLogicWarehouseBatchInDOByPrimaryKey(String id) throws DataAccessException;

}